Skip to main content

Update File

AutomatR.HubSpot.Activities.UpdateFile

The "Update File" activity in AutomatR is part of the HubSpot activities package, allowing the update of the content of an existing file in a HubSpot user's account. This activity streamlines the process of updating file content within workflows.

Properties

NameDescription
Input
File PathEnter the full path of the HubSpot user account to update the file.
File IDEnter the file ID that needs to be updated.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Update File" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration (e.g., 5 for 5 seconds).

How to use:

  1. Drag and drop the "Update File" activity onto the workflow.
  2. Configure the properties by specifying the file path and file ID for the file you want to update.
  3. Optionally, customize the display name and set a delay if necessary.
  4. Execute the workflow to update the content of the specified file in HubSpot.

Example: Consider an example where the "Update File" activity is used to update the content of a file with ID "12345" in HubSpot:

Update File:
Display Name: "Update File Content"
File Path: "/HubSpotUser/Documents/document.txt"
File ID: "12345"

In this example, the activity updates the content of the file located at "/HubSpotUser/Documents/document.txt" in HubSpot. Customize the inputs based on the file path and ID you want to update.